package com.cetcs.kmga.dataManager.dao.mybatis;

import com.cetcs.kmga.common.Data;
import com.cetcs.kmga.dataManager.entity.sysCode.SysCodeInfo;
import com.cetcs.kmga.dataManager.entity.sysCode.SysCodeType;
import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
import org.apache.pig.builtin.RANDOM;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface SysCodeMapper {

    List<SysCodeType> getSysCodeTypeList(Data dataMap, PageBounds pageBounds)  throws Exception;

    List<SysCodeInfo> getSysCodeInfoList(Data dataMap,PageBounds pageBounds)  throws Exception;

    int addSysCodeType(Data dataMap) throws Exception;

    int addSysCodeInfo(Data dataMap) throws Exception;

    int updateSysCodeType(Data dataMap) throws Exception;

    int delSysCodeType(Data dataMap) throws Exception;

    int delSysCodeInfoCas(Data dataMap) throws Exception;

    int delSysCodeInfo(Data dataMap) throws Exception;

}
